Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Problem with FTP  (Read 11958 times)

0 Members and 1 Guest are viewing this topic.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Problem with FTP
« Reply #30 on: September 17, 2009, 05:25:03 PM »
So wouldn't that be the first clue that the school has locked down FTP access to any server ...or am i missing a minute detail not yet provided ? ?

I thought you said you were good in another Post and laughed at all the script kiddies...

" Anyone who goes to a psychiatrist should have his head examined. "

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Problem with FTP
« Reply #31 on: September 17, 2009, 05:35:19 PM »
THIS ISN'T AT SCHOOL! I said that the script was to test if the host works properly under normal conditions. Aparently not.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Problem with FTP
« Reply #32 on: September 17, 2009, 07:41:56 PM »
A test file. It says "Hello World". But it says connection closed by the host.

I don't see any filename specified in the batch file...
I was trying to dereference Null Pointers before it was cool.

mroilfield



    Mentor
  • Thanked: 42
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 11
Re: Problem with FTP
« Reply #33 on: September 17, 2009, 11:48:46 PM »
THIS ISN'T AT SCHOOL! I said that the script was to test if the host works properly under normal conditions. Aparently not.

You may not be doing this at school right now but according to the below quote taken from reply #19 you do plan on using this at school.

Quote
There is currently no rule against using a computer to communicate to an other computer. And this was at home. I want to make sure it works before I check it at school to see if its blocked.

If you want to see if it is blocked at school ask the teacher if it is blocked. If they don't or wouldn't know you can turn this into a class project to see who can write the batch file to find out. Heck if you get the right teacher you might even be able to get extra credit for it.

If you don't want to bring this up to the teacher then you need to give us a good reason why as it sounds like you are trying to do something you shouldn't be.
You can't fix Stupid!!!

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Problem with FTP
« Reply #34 on: September 18, 2009, 08:25:44 PM »
@echo off
:loop
cls
echo open>C:\schoolchatdatar.oti
echo USERNAME>>C:\schoolchatdatar.oti
echo PASSWORD>>C:\schoolchatdatar.oti
echo get test.txt>>C:\schoolchatdatar.oti
echo bye>>C:\schoolchatdatar.oti
pause
ftp -i -s:C:\schoolchatdatar.oti 0catch.com
pause
del C:\schoolchatdatar.oti
type test.txt
rem The above confirms that the FTP is working correctly and the file exists.
pause
goto loop


That's the code I started with. I haven't even started my real code because I need this to work first.
Try reading the bolded text.

Mroilfield, nice idea. I would do that if the teachers knew how to find out what sites are blocked without checking by hand. I also don't have a comtech course this year  :-\, nor do I have a death wish. I don't know about highschools you went to, but here, if you're smart, you only show it on tests. Or else.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.

mroilfield



    Mentor
  • Thanked: 42
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 11
Re: Problem with FTP
« Reply #35 on: September 19, 2009, 12:30:18 AM »
Try reading the bolded text. 

How silly of me to not trust what you are trying to do just because you named a txt file "Test" ::)

I would do that if the teachers knew how to find out what sites are blocked without checking by hand.

Once again here is your own reference to the fact that you are tying to circumvent something that you think might be blocked at school.

Here is a little educational fact for you:

If the school has it blocked then they don't want you to use it. Hence any attempt to get around it would be violating school policy.
You can't fix Stupid!!!

Helpmeh

    Topic Starter


    Guru

  • Roar.
  • Thanked: 123
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Familiar
  • OS: Windows 8
Re: Problem with FTP
« Reply #36 on: September 19, 2009, 08:09:29 AM »
If it is blocked, and the host works normally, then I would use it outside of school, which would be fine too. I'm trying to find out if the host works properly.

I don't see any filename specified in the batch file...
This was why I said read the bolded text, not to you mroilfield.
Where's MagicSpeed?
Quote from: 'matt'
He's playing a game called IRL. Great graphics, *censored* gameplay.