Reply to Re: PHP FTP (French user please)

Your name:

Reply:


Posted by Bent Stigsen on 10/18/23 11:38

SG wrote:
[snip]
> i'll try with ftp or http on my win2003 to My debian. (My debian is
> installed with samba... Maybe ! ! !)

Yes, that is also an option.

For example, if the share is open to anonymous access then try:
smbclient -N //srv-fic01/TeJCommun/site_web_admin/

If ok, then you should get a prompt like:
smb: \>

smbclient is just like a ftp client, where you can get and put files.
? will give list of commands.

If above is ok, then you could mount the share on the local
filesystem, with:

mount -t smbfs -o guest //srv-fic01/TeJCommun/site_web_admin/ /mnt/xyz

And then access the files from /mnt/xyz (or whereever)

If username and password is required for accessing the windows server,
then look at the man-pages for smbclient and smbmnt.

I haven't used the above myself, so I can't say how stable it is. I
might be a bit critical, but I would try to reboot either machines,
and see if it reconnects properly. And just to be safe, have a
cron-job do a check once every hour.


> I try monday and i 'll say to you the result.
>
> :'( I known my english is very very BAAAAAAAAAD ! ! ! !

It is really not as bad as you think. The fact that you can see your
own limitation is a good sign.

Use it, and it *will* get better.


/Bent

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация