Computer Hope

Microsoft => Microsoft DOS => Topic started by: MOC76 on May 09, 2009, 04:56:19 PM

Title: get command within ftp
Post by: MOC76 on May 09, 2009, 04:56:19 PM
Hi,

After I have used the get command within ftp command of ms-dos to retrieve files from my ftp server site, and then try to open the files in my local directory it just gives the message that "no preview available".

I can view these jpeg files when looking at them within the ftp server site so I don't know why I can't do the same when I have puilled them into my local directory using ms-dos ftp.

Any ideas why this would be?. Probably is nothing to do with getting the files via ms-dos and is some other setting.

Thanks,
Michael
Title: Re: get command within ftp
Post by: Helpmeh on May 09, 2009, 05:09:51 PM
Hi,

After I have used the get command within ftp command of ms-dos to retrieve files from my ftp server site, and then try to open the files in my local directory it just gives the message that "no preview available".

I can view these jpeg files when looking at them within the ftp server site so I don't know why I can't do the same when I have puilled them into my local directory using ms-dos ftp.

Any ideas why this would be?. Probably is nothing to do with getting the files via ms-dos and is some other setting.

Thanks,
Michael
Are you sure the pictures are formatted correctly?
Title: Re: get command within ftp
Post by: MOC76 on May 09, 2009, 05:31:28 PM
Yes. Am getting a 550 error in MS-DOS. Not sure what that is telling me though.
Title: Re: get command within ftp
Post by: Helpmeh on May 09, 2009, 05:40:05 PM
Yes. Am getting a 550 error in MS-DOS. Not sure what that is telling me though.
Does it specifically say error? Because when I used ftp, it would look something like this:


000>Text
909>Different Text

and so on and so fourth...
Title: Re: get command within ftp
Post by: gh0std0g74 on May 09, 2009, 06:03:28 PM
when you want to get file types like jpg, set the transfer to binary format
Title: Re: get command within ftp
Post by: Helpmeh on May 09, 2009, 06:06:55 PM
So before transfering, add "binary" before get.
Title: Re: get command within ftp
Post by: MOC76 on May 10, 2009, 06:05:46 AM
Thanks. I have tried that but no joy.

I enter the get command for a .jpg file and receive the following back (see the attached).

File is sent to my local directory but is empty (0 KB).

I have read that this "550 No such file or directory" message is to do with permissions. However I can't find anything which explains what is required to rectify this.

Appreciate any help.



[attachment deleted by admin]
Title: Re: get command within ftp
Post by: Helpmeh on May 10, 2009, 09:46:33 AM
Thanks. I have tried that but no joy.

I enter the get command for a .jpg file and receive the following back (see the attached).

File is sent to my local directory but is empty (0 KB).

I have read that this "550 No such file or directory" message is to do with permissions. However I can't find anything which explains what is required to rectify this.

Appreciate any help.


In your FTP Browser, right click on the images, and check that they are not hidden, read only or archived.