+ Reply to Thread
Results 1 to 19 of 19

Thread: ftp
      
   

  1. #1
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default ftp

    is there any way for people to ftp photos to maybe my public ftp folder;

    1, can it be done thro explorer if so how
    2, will they only see that folder and nothing else (security issuses)
    3, will there be a risk of viruses

    thanks johnny

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp

    Quote Originally Posted by jabie5
    is there any way for people to ftp photos to maybe my public ftp folder;

    1, can it be done thro explorer if so how
    2, will they only see that folder and nothing else (security issuses)
    3, will there be a risk of viruses

    thanks johnny
    You can use a form with one or more upload fields. You can limit the file type to only be jpg or gif so there will be no virus risk. Once uoloaded, you can view the files and approve them, so you can accept them and actually put them on your website or not.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    how do i use these forms and are they available or can you point me in the right direction

    johnny

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp

    Quote Originally Posted by jabie5
    how do i use these forms and are they available or can you point me in the right direction

    johnny
    Have a look at http://www.navaldesign.info/feedback13.html The upload field is the last one, at the bottom. If you like such a form, create one in BV, upload it, provide me the URL, and iìll send you the script. In the mean time, have a look at the script structure at http://www.vodahost.com/vodatalk/for...html#post11943
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp (navaldesign look in)

    i tried looking at your site but it would not load up server error

    secondly i use dreamweaver is that a problem

    it it possible to just have a button on my page which says upload pics and that links to my public ftp folder

    thanks
    johnny

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp (navaldesign look in)

    That's excactly what this form does. Allows your visitor to browse in his computer for a file, and then it upload the pic in a folder in your public_html. It is a form anyway, even if there are no other fields. A form like this can be built in Dreamweaver though i don't know the program. Otherwise you can build a page in BV and link it to rest of your site.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  7. #7
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    great thats what i want i have blue voda just have to install it.
    but i cannot view your page so how do i start

    thanks johnny

  8. #8
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp

    Quote Originally Posted by jabie5
    great thats what i want i have blue voda just have to install it.
    but i cannot view your page so how do i start

    thanks johnny
    First of all, do you have a vodahost account?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  9. #9
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp

    If you do, you start by reading this: http://www.vodahost.com/vodatalk/blu...out-forms.html

    If you don't don't have a Vodahost account, BV can't publish on other companies' servers

    Click Here to create your VodaHost account.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  10. #10
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    yes i have an account and i am reading the tuts now

  11. #11
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    ok i have read the tuts three times and had a go at a simple form in bluevoda

    what next

    johnny

  12. #12
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp

    Quote Originally Posted by jabie5
    ok i have read the tuts three times and had a go at a simple form in bluevoda

    what next

    johnny
    When you have your form ready, publish it and let me know the URL. I'll have a look and prepare a script for you. You will only have to upload it on your server. Please set the form acrion in "upload.php" before you publish
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  13. #13
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    right i have published it its on the main page if you click on upload pics you will see the page created in bv



    as to your comment "Please set the form acrion in "upload.php" before you publish" i double clicked the form and typed "upload.php" into the action box i hope this is correct can i PM you with my url


    thanks

    johnny

  14. #14
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp

    Ok, but i don't know your website. Please let me know through my form. It's running ok, i just checked it.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  15. #15
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    sent you my url and email. let me know how you get on i might have to sign off now

  16. #16
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    ok i have redone the page and put it on the webpage i had to clear my webcache to see it tho, i hope it is right now lol

    thanks johnny

  17. #17
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    any type of file really mostly jpegs, if you set it to jpegs can i alter it later for any type

  18. #18
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,050

    Default Re: ftp

    Ok, your script is attached.

    <?php

    // Receiving variables
    @$name = addslashes($_POST['name']);
    @$email_address = addslashes($_POST['email_address']);
    @$browse_Name = $_FILES['browse']['name'];
    @$browse_Size = $_FILES['browse']['size'];
    @$browse_Temp = $_FILES['browse']['tmp_name'];
    @$browse_Mime_Type = $_FILES['browse']['type'];
    function RecursiveMkdir($path)
    {
    if (!file_exists($path))
    {
    RecursiveMkdir(dirname($path));
    mkdir($path, 0777);
    }
    }

    // Validation
    if( $browse_Size == 0)
    {
    header("Location: errorpage.html");
    exit;
    }
    if( $browse_Size >3000000)
    {
    //delete file
    unlink($browse_Temp);
    header("Location: errorpage.html");
    exit;
    }
    $uploadFile = "upload/".$browse_Name ;
    if (!is_dir(dirname($uploadFile)))
    {
    @RecursiveMkdir(dirname($uploadFile));
    }
    else
    {
    @chmod(dirname($uploadFile), 0777);
    }
    @move_uploaded_file( $browse_Temp , $uploadFile);
    chmod($uploadFile, 0644);
    $browse_URL = "http://www.jmbwebdesign.co.uk/upload/".$browse_Name ;
    //Sending Email to form owner
    $pfw_header = "From: $email_address\n"
    . "Reply-To: $email_address\n";
    $pfw_subject = "A New File Has been Uploaded !";
    $pfw_email_to = "youremail@jmbwebdesign.co.uk";
    $pfw_message = "Name: $name\n"
    . "Email_address: $email_address\n"
    . "File Link: $browse_URL\n"
    . "\n";
    *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
    header("Location: thankyou_page.html");
    ?>







    Please do the following:

    1. The button , for which you have chosen type button simply "button", must be turned into a "submit" button. it's not important that you have named it "Upload now". The name can remain, but it must be a submit button.
    2. You have created an "upload" folder. That's ok, the files will be uploaded there. BUT the form page, as well as this script that i'm sending you, must be published in "public_html", not in "public_html/upload"
    3. The "action" fiels of your form must be set to "upload.php", This is how it invokes the script.
    4. Please note that if the filenames are one word filenames, then the link that you receive in your email will be correct, and you will be able to open the file in IE by simply clicking on the link. If the file name has blanks in it, then the filename on the server is correct, but the link in the email only arrives to the blank space. In this case you should copy all the link and paste it in your browser to open the link. Of course, in all cases, you can also download the file using FTP
    5. To work, the script needs your email address in your Vodahost account, not an external one. So, open the script in Notepad. Change the email address to be your email address on your Vodahost account. Go to Save As. Choose File Type "All Files". Save it as "upload.php". Upload it on your server, in your public_html directory.

    Test the form and let me know.

    I also sent the same message in your email
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  19. #19
    jabie5 is offline First Sergeant
    Join Date
    Feb 2006
    Posts
    75

    Default Re: ftp

    finally got it to work after 5 attempts lol,
    thanks for your help and patients

    thanks
    johnny

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49